package com.ligotop.admin.system.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    private Logger logger =  LoggerFactory.getLogger(this.getClass());

    @RequestMapping("pages/{path}")
    public String pages(@PathVariable String path) {
        logger.debug("直接访问的页面路径："+path);
        return path;
    }
}
